class CreateDictionaries < ActiveRecord::Migration
  def self.up
    create_table :dictionaries do |t|
      t.column :index, :text
      t.column :entry, :text
      t.column :sense, :text
      t.column :jlpt_level,:float
      t.column :estimate_level,:float
      t.column :kanji_level,:float
      t.timestamps
    end
  end

  def self.down
    drop_table :dictionaries
  end
end
